package Board;

import java.io.*;
import java.sql.*;

public class BoardData{
	private int num;
	private String name;
	private String subject;
	private String content;
	private Date date;
	private String password;
 	private int count;

	public void setNum(int num) {
		this.num = num;
	}
	public void setName(String name) {
		this.name =name ;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public void setPassword(String password) {
		this.password= password;
	}
	public void setCount(int count) {
		this.count = count;
	}

	public int getNum() {
		return num;
	}
	public String getName() {
		return name ;
	}
	public String getSubject() {
		return subject;
	}
	public String getContent() {
		return content;
	}
	public Date getDate() {
		return date;
	}
	public String getPassword() {
		return password;
	}
	public int getCount() {
		return count;
	}
}
